package com.dietmanager.model;

import java.util.ArrayList;

/**
 * The Class Exercise.
 */
public class Exercise extends ExerciseModel {
	private static final long serialVersionUID = 3216968751062409031L;

	/**
	 * Instantiates a new exercise.
	 *
	 * @param name the name
	 * @param calories the calories
	 * @param minutes the minutes
	 */
	public Exercise(String name, int calories, float minutes) {
		super(name, calories, minutes);
	}
	
	/**
	 * Instantiates a new exercise. Alternative constructor
	 *
	 * @param name the name
	 * @param calories the calories
	 * @param minutes the minutes
	 */
	public Exercise(String name, int calories, float minutes, String repetitions) {
		super(name, calories, minutes);
	}
	
	/**
	 * Sets the calories.
	 *
	 * @param calories the new calories
	 */
	public void setCalories(int calories) {
		this.calories = calories;
	}
	
	/**
	 * Sets the minutes.
	 *
	 * @param minutes the new minutes
	 */
	public void setMinutes(float minutes) {
		this.minutes = minutes;
	}
	
	/**
	 * Returns 0 repetitions
	 */
	public String getRepetitions() {
		return "";
	}
}
